Part Number Hot Search : 
VCO55 DF158 330M35 1A221M MAX15 6PF30 NTE228A ECCM1
Product Description
Full Text Search
 

To Download PG-FP4 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  document no. u15260ej4v0um00 (4th edition) date published may 2004 ns cp(k) printed in japan 2001 user?s manual PG-FP4 flash memory programmer
user?s manual u15260ej4v0um 2 [memo]
user?s manual u15260ej4v0um 3 PG-FP4 complies with the emc protection requirements warning this is a ?class a? (en 55022: 1998) equipmen t. this equipment can cause radio frequency noise when used in the residential area. in such cases, the user/operator of the equipment may be required to take appropriate countermeasures under their own responsibility. eedt-st-001-11 caution this equipment should be handled like a cmos semiconductor device. the user must take all precautions to avoid build-up of static electricity while working with this equipment. all test and measurement tool including the workbench must be grounded. the user/operator must be grounded using t he wrist strap. the connectors and/or device pins should not be touched with bare hands. eedt-st-004-10
user?s manual u15260ej4v0um 4 eeprom is a trademark of nec electronics corporation pc/at is a trademark of internati onal business machines corporation. windows and windows nt are either re gistered trademarks or trademarks of microsoft corporation in the united states and/or other countries. pentium is a trademark of intel corporation. the information in this document is current as of may, 2004. the information is subject to change without notice. for actual design-in, refer to the latest publications of nec electronics data sheets or data books, etc., for the most up-to-date specifications of nec electronics products. not all products and/or types are available in every country. please check with an nec electronics sales representative for availability and additional information. no part of this document may be copied or reproduced in any form or by any means without the prior written consent of nec electronics. nec electronics assumes no responsibility for any errors that may appear in this document. nec electronics does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from the use of nec electronics products listed in this document or any other liability arising from the use of such products. no license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of nec electronics or others. descriptions of circuits, software and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples. the incorporation of these circuits, software and information in the design of a customer's equipment shall be done under the full responsibility of the customer. nec electronics assumes no responsibility for any losses incurred by customers or third parties arising from the use of these circuits, software and information. while nec electronics endeavors to enhance the quality, reliability and safety of nec electronics products, customers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely. to minimize risks of damage to property or injury (including death) to persons arising from defects in nec electronics products, customers must incorporate sufficient safety measures in their design, such as redundancy, fire-containment and anti-failure features. nec electronics products are classified into the following three quality grades: "standard", "special" and "specific". the "specific" quality grade applies only to nec electronics products developed based on a customer- designated "quality assurance program" for a specific application. the recommended applications of an nec electronics product depend on its quality grade, as indicated below. customers must check the quality grade of each nec electronics product before using it in a particular application. the quality grade of nec electronics products is "standard" unless otherwise expressly specified in nec electronics data sheets or data books, etc. if customers wish to use nec electronics products in applications not intended by nec electronics, they must contact an nec electronics sales representative in advance to determine nec electronics' willingness to support a given application. (note) ? ? ? ? ? ? m8e 02. 11-1 (1) (2) "nec electronics" as used in this statement means nec electronics corporation and also includes its majority-owned subsidiaries. "nec electronics products" means any product developed or manufactured by or for nec electronics (as defined above). computers, office equipment, communications equipment, test and measurement equipment, audio and visual equipment, home electronic appliances, machine tools, personal electronic equipment and industrial robots. transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster systems, anti-crime systems, safety equipment and medical equipment (not specifically designed for life support). aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems and medical equipment for life support, etc. "standard": "special": "specific":
user?s manual u15260ej4v0um 5 regional information ? device availability ? ordering information ? product release schedule ? availability of related technical literature ? development environment specifications (for example, specifications for third-party tools and components, host computers, power plugs, ac supply voltages, and so forth) ? network requirements in addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary from country to country. [global support] http://www.necel.com/en/support/support.html nec electronics america, inc. (u.s.) santa clara, california tel: 408-588-6000 800-366-9782 nec electronics hong kong ltd. hong kong tel: 2886-9318 nec electronics hong kong ltd. seoul branch seoul, korea tel: 02-558-3737 nec electronics shanghai ltd. shanghai, p.r. china tel: 021-5888-5400 nec electronics taiwan ltd. taipei, taiwan tel: 02-2719-2377 nec electronics singapore pte. ltd. novena square, singapore tel: 6253-8311 j04.1 n ec electronics (europe) gmbh duesseldorf, germany tel: 0211-65030 ? sucursal en espa?a madrid, spain tel: 091-504 27 87 vlizy-villacoublay, france tel: 01-30-67 58 00 ? succursale fran?aise ? filiale italiana milano, italy tel: 02-66 75 41 ? branch the netherlands eindhoven, the netherlands tel: 040-244 58 45 ? tyskland filial taeby, sweden tel: 08-63 80 820 ? united kingdom branch milton keynes, uk tel: 01908-691-133 some information contained in this document may vary from country to country. before using any nec electronics product in your application, piease contact the nec electronics office in your country to obtain a list of authorized representatives and distributors. they will verify:
user?s manual u15260ej4v0um 6 general precautions on handling this product 1. circumstances not covered by product guarantee  if the product was disassembled, alte red, or repaired by the customer  if it was dropped, broken, or given another strong shock  use at overvoltage, use outside guaranteed temperature r ange, storing outside guaranteed temperature range  if power was turned on while the ac adapter, usb interface cable, or connection to the target system was in an unsatisfactory state  if the cable of the ac adapter, t he usb interface cable, the emulat ion probe, or the like was bent or pulled excessively  if an ac adapter other than the supplied product was used  if the product got wet  if gnd of this product was not c onnect to gnd of the target system  if a connector or cable was connected or disc onnected while power was being supplied to the product  if an excessive load was applied to a connector or cable 2. safety precautions  if used for a long time, the product may become hot (50 to 60c). be careful of low temperature burns and other dangers due to the product becoming hot.  be careful of electrical shock. there is a danger of electrical shock if the product is used as described above in 1 circumstances not covered by product guarantee .
user?s manual u15260ej4v0um 7 preface target readers this manual is intended for users who use the PG-FP4 when designing and developing a system using an nec electronics on-chip flash memory microcontroller. purpose this manual is intended to give users an understanding of the bas ic specifications and correct use of the PG-FP4. by using the PG-FP4, programs can be easily erased from or written to the flash memory of an nec electronics on-chip fl ash memory microcontroller, or can be verified on windows tm screens, while the microcontro ller is mounted on the user board. organization this manual includes the following sections. ? overview ? hardware installation ? software installation ? PG-FP4 operation using gui software ? sample programming session using gui software ? PG-FP4 operation in standalone mode ? connectors and cables ? notes on target systems ? target system interface circuits ? error messages how to read this manual to understand the overall functions and us age of the PG-FP4, read this manual in the order of the contents. be sure to read chapter 4 PG-FP4 operation using gui software because this chapter pres ents important information for using the PG-FP4. it is assumed that the readers of this manual have general knowl edge of electricity, logic circuits, and microcontrollers. in the explanations of the operation of the applications, it is also assumed that the readers have sufficient knowledge of windows. for the usage and terminology of windows 95, windows 98, windows nt tm , windows me, windows 2000, and windows xp, refer to each windows manual. the mark shows major revised points. conventions note : footnote for item marked with note in the text. caution : information requiring particular attention remark : supplementary information numeral representation: binary ? or b decimal ? hexadecimal ? 0 h or h ? ?: any character or item on screen ok : name of button
user?s manual u15260ej4v0um 8 []: menu < >: dialog box name terminology the meanings of the terms used in this manual are as follows. term meaning fp4 abbreviation of flash memory programmer PG-FP4 gui software windows application to operate PG-FP4 using gui software target device nec electronics on-ch ip flash memory microcontroller target system user-designed board on wh ich nec electronics on-chip flash memory microcontroller is mounted fa adapter adapter board to write progr ams to nec electronics on-chip flash memory microcontroller note note the fa adapter board is a product of na ito densei machida mfg. co., ltd. if you have any questions about the fa adapter board, contact: naito densei machida mf g. co., ltd. tel: +81-45-475-4191
user?s manual u15260ej4v0um 9 contents chapter 1 overview.......................................................................................................... ................11 1.1 features ....................................................................................................................... ..............11 1.2 PG-FP4 configuration in graphical user interface (gui) mode...........................................11 chapter 2 hardware installation............................... ............................................................1 3 2.1 system requirements ............................................................................................................ ..13 2.2 package contents............................................................................................................... ......13 2.3 system configuration and components. ...............................................................................14 2.3.1 host co mput er .................................................................................................................. .............. 14 2.3.2 PG-FP4 control panel and c onnecto rs............................................................................................ 15 2.3.3 target system.................................................................................................................. ............... 16 2.3.4 power s upply ................................................................................................................... ............... 16 2.3.5 rs-232c host connecti on........................................................................................................ ....... 16 2.3.6 parallel host connecto r ........................................................................................................ ........... 16 2.3.7 usb por t ....................................................................................................................... .................. 17 2.3.8 target cable................................................................................................................... ................. 17 2.3.9 i 2 c adapt er...................................................................................................................... ................ 17 chapter 3 software installation................................ ............................................................ 19 3.1 graphical user interface ....................................................................................................... ...19 3.1.1 gui software in stalla tion...................................................................................................... ........... 19 3.1.2 usb driver in stalla tion ........................................................................................................ ............ 28 3.1.3 gui software uni nstalla tion.................................................................................................... ......... 33 3.2 firmware and gui software update installation ........ ...........................................................34 3.2.1 firmware update in stalla tion................................................................................................... ........ 35 chapter 4 PG-FP4 operation using gui softwar e............................................................36 4.1 introduction ................................................................................................................... ............36 4.2 starting up the gui software................................................................................................... 37 4.3 toolbar ........................................................................................................................ ...............39 4.4 menus.......................................................................................................................... ...............39 4.4.1 [f ile] m enu...................................................................................................................... ................ 39 4.4.2 [p rogrammer] menu................................................................................................................ ........ 46 4.4.3 [d evice] menu.................................................................................................................... ............. 50 4.4.4 [h elp] menu ...................................................................................................................... .............. 67 chapter 5 sample programming session using gui software.................................68 chapter 6 PG-FP4 operation in standalone mode...........................................................79 6.1 PG-FP4 operation menu .......................................................................................................... 80 6.1.1 [commands ] menu ................................................................................................................ ......... 80 6.1.2 [type setti ng] m enu ............................................................................................................ ........... 82 6.1.3 [option setti ng] m enu.......................................................................................................... ........... 83 6.1.4 [voltage setti ng] m enu ......................................................................................................... .......... 85 6.1.5 [utility/mi sc.] m enu ........................................................................................................... .............. 86
user?s manual u15260ej4v0um 10 chapter 7 connectors and cables................................. ....................................................... 87 7.1 power supply connector ........................................................................................................ 8 7 7.2 hd-sub 9 serial host connector ............................................................................................ 88 7.2.1 rs-232c cabl e (cro ssed) ........................................................................................................ ........88 7.3 hd-sub 15 target interface connector .................................................................................. 89 7.4 target cable specifications .................................................................................................... 90 7.5 parallel host connector ........................................................................................................ .. 92 7.6 usb port....................................................................................................................... ............. 93 chapter 8 notes on target systems ........................ ............................................................ 94 chapter 9 target system interface circuits... .............................................................. 101 9.1 so/txd, reset .................................................................................................................. .... 101 9.2 sck............................................................................................................................ .............. 102 9.3 si/rxd, h/s.................................................................................................................... .......... 103 9.4 clk ............................................................................................................................ .............. 103 9.5 flmd0, flmd1 ................................................................................................................... .... 104 9.6 v dd , v dd2 ............................................................................................................................... ... 104 9.7 v pp ............................................................................................................................... ............. 105 chapter 10 error messages.................................................................................................. ... 106 10.1 error messages of PG-FP4 in standalone mode ........ ........................................................ 106 10.2 gui software fatal error messages ................................ ..................................................... 108 10.3 gui software error messages .............................................................................................. 111 10.4 gui software information messages ............................... .................................................... 114 appendix a revision history ................................................................................................ ..... 116
user?s manual u15260ej4v0um 11 chapter 1 overview the PG-FP4 is a tool that erases, writes, and verifies programs on an nec electronics on-chip flash memory single-chip microcontroller on the target board or fa adap ter board. this product can be used in graphical user interface (gui) mode using a host co mputer or in standalone mode. 1.1 features ? the PG-FP4 allows on-board programming without remo ving the target device from the target system. ? the user program is stored in the internal 2 mb flas h memory of the PG-FP4 and parameters for programming are stored in 8 kb eeprom tm , so that the target device can be rewr itten in the standalone mode, without having to connect the PG-FP4 to a host. ? serial interface connection (rs-232c) to host systems, parallel interface for optional fast program download and a usb interface are available. ? csi, csi+h/s, uart, i 2 c and port interfaces are supported for data transfer to the target device. ? programming voltage v pp can be selected from between 0 and 12 v. ? the PG-FP4 can supply 0 to 6 v on the v dd line (200 ma max.). 1.2 PG-FP4 configuration in gra phical user interface (gui) mode the configuration of the PG-FP4 in gui software mode is shown in the diagram below. figure 1-1. PG-FP4 configuration in gui software mode (flashpro 4 ) PG-FP4 cancel enter next store in eeprom 1 mb 1 mb logfile ini file gui software operation usb / rs-232c upload/download a target program into PG-FP4 prm file set file device parameter setup calculate checksum hex editor to modify memory contents ? on-board programming ? fa adapter programming paralle host usb host device power + - serial host use as one storage area o r split into two areas
chapter 1 overview user?s manual u15260ej2v0um 12 the graphical user interface (gui) of the PG-FP4 sup ports the device commands necessary for downloading and uploading user programs, setting parameters necessary for writing the device, setting and selecting a writing environment by the user, changing the user program downlo aded to the PG-FP4, and calc ulating and rewriting the memory checksum. the parameters necessary for writing the device are saved to a parameter file (prm file) and the setting of the user?s writing environment is saved to a customized setup f ile (set file). these files are downloaded to the PG-FP4 and stored in the internal eeprom, so that the downloaded data can be used even in the standalone mode. the gui software is executed using the parameters that have been set last. changed settings are saved to an ini file. communication between the gui software and t he PG-FP4 is recorded in an ascii file. the internal memory of the PG-FP4 is configured as a 2 mb flash memory and holds the user program that is written to the target device. this memory?s area (progarea ) can be divided into two 1 mb memory areas. therefore, the PG-FP4 can download two different user programs a nd select either of them as the valid user program.
user?s manual u15260ej4v0um 13 chapter 2 hardware installation 2.1 system requirements host pc a pc supporting windows 95, windows 98, windows nt 4.0, windows me, windows 2000, or windows xp is required to run the PG-FP4 in the graphical user interface (gui) mode. about 8 mb of free hard disk space is required to install the gui software. host machine any of the following can be used: ? pc-9800 series ? pc-98nx series ? ibm pc/at tm or compatible cpu pentium tm 100 mhz or more ram 32 mb or more host interface serial interface (rs-232c) capable of handling communication at 9,600 (minimum) baud up to 115,200 baud. a parallel port may be used in addition to the serial interface to enable fast data download to the PG-FP4. alternatively, a usb port (rev 1.1) is available. file formats program files can be used in motorola s file format or intel hex file format. 2.2 package contents please verify that you have received all the parts listed in the package contents list included with the PG-FP4 package. if any part is missing or seems to be damaged, please contact an nec electronics sales representative or distributor.
chapter 2 hardware installation user?s manual u15260ej4v0um 14 2.3 system configur ation and components the PG-FP4 system configuration is as given in the diagram below. figure 2-1. PG-FP4 system configuration rs-232c cable (cross) fa adapter note 2 or user system ac adapter (15 v/1 a) parallel interface cable note 1 usb interface cable ta r g e t c a b l e host machine notes 1. the parallel interface cable is not included in the PG-FP4 package. 2. the fa adapter board is a product of naito densei machida mfg. co., ltd. the PG-FP4 is connected to the host syst em via an rs-232c serial interface ca ble or a usb interface cable. by using the serial interface in combination with the optio nal parallel interface, the user program can be quickly downloaded to the PG-FP4. the PG-FP4 is connected to the user system by the target cable. for the detailed specifications of the target cable, refer to chapter 7 connectors and cables . 2.3.1 host computer a pc is used to communicate with the PG-FP4. windo ws 95, windows 98, windows nt, windows me, windows 2000, or windows xp is required for gui software operation of the PG-FP4. it also must be equipped with a serial interface or a usb port. an optional parallel interface may be used for fast program download to the PG-FP4. remark usb support is not available on windows 95 and windows nt.
chapter 2 hardware installation user?s manual u15260ej4v0um 15 2.3.2 PG-FP4 control panel and connectors figure 2-2. PG-FP4 top view the control buttons are used in t he standalone mode of the PG-FP4. next button proceeds to the next menu item in sequence. enter button selects the item shown in the message display. cancel button cancels the current selection and returns to the previous menu item. message display a 16 2-character lcd display indicates the operating mode. it is mainly used for the pg- fp4?s standalone mode. status led the led shows the pg -fp4 operating status, indicated by the colors green for ok , red for error or orange for operating . (1) PG-FP4 connectors the serial host connector, the target interface connec tor and the power connector are located on the right side of the PG-FP4. figure 2-3. PG-FP4 target inte rface/power/serial host connectors PG-FP4> serial host connector power connector target interface connector parallel host connector usb port message display control buttons status led
chapter 2 hardware installation user?s manual u15260ej4v0um 16 the parallel host connector and usb port are located on the left side of the PG-FP4. the parallel host connector can be used for high-speed downloading of a program as a centronics interface. figure 2-4. PG-FP4 parallel host connector/usb port interface PG-FP4> 2.3.3 target system the target system must be equi pped with a device interface that complies with the target cable specifications. for details, refer to chapter 7 connectors and cables . 2.3.4 power supply the power supply fw7207/15 is equipped with a 2.1 55 14 dc plug and may be connected to the mains using one of the ac plugs available in europe, the uk, the usa and japan. for the power supply specifications, refer to chapter 7 connectors and cables . caution do not use any other ac adapter. connect only the provided ac adapter to the power supply jack. 2.3.5 rs-232c host connection the rs-232c host interface enables communication to the PG-FP4. windows 95, windows 98, windows nt 4.0, windows me, windows 2000, or windows xp may be used to operate the PG-FP4, which is connected to the serial port. the rs-232c data transfer condit ions are 9,600 baud, 8 data bits, 1 stop bit, no parity and selectable hardware handshake. the baud rate may be selected from 9,600 bps (default ), 19,200 bps, 38,400 bps, 57,600 bps or 115,200 bps. for detailed specifications of the host interface, refer to chapter 7 connectors and cables . 2.3.6 parallel host connector the parallel host connector may be configured as follows. centronics interface configuration program data can be downloaded to the PG-FP4 vi a a high-speed parallel port from the host system. for detailed specifications of the parallel interface, refer to chapter 7 connectors and cables .
chapter 2 hardware installation user?s manual u15260ej4v0um 17 2.3.7 usb port the usb port conforms to rev 1.1. it supports a communication speed of 12 mbps on a usb type b connector. caution usb support is not available on windows 95 and windows nt. 2.3.8 target cable the target cable is compatible with the fa adapters of naito d ensei machida mfg. co., ltd. there are two types of target cables: type a (16 pins), which is used for both single- and two-power-supply flash memories; and type b (10 pins), which is a dedicated cable for two-power-supply flash memories. for detailed specifications of the target cable, refer to chapter 7 connectors and cables . 2.3.9 i 2 c adapter the si and so pins of the pg -fp4 must be shorted on t he target board when the i 2 c communication mode is used. figure 2-5. connection diagram vpp vdd reset scl0 sda0 gnd vdd sck reset si so vpp gnd target board target device PG-FP4 when using an i 2 c adapter, the si and so pins do not have to be shorted on the target board. figure 2-6. i 2 c adapter cn2 (16 pins) pins 3 to 5 shorted cn1 (10 pins) pins 3 to 5 shorted
chapter 2 hardware installation user?s manual u15260ej4v0um 18 figure 2-7. connection diagram when using i 2 c adapter vpp vdd reset scl0 sda0 gnd vdd sck reset si so vpp gnd target board target device PG-FP4 i 2 c adapter <1> connect the fa adapter and the type b target connector of the target cable (10 pins). <2> connect the type a target connector (16 pins) and the i 2 c adapter (cn2) of the target cable. <1> connect the fa adapter and the type a target connector of the target cable (16 pins). <2> connect the type b target connector (10 pins) and the i 2 c adapter (cn1) of the target cable.
user?s manual u15260ej4v0um 19 chapter 3 software installation 3.1 graphical user interface the graphical user interface (gui) software allows easy and comfortable access to all features of the PG-FP4 flash programmer. 3.1.1 gui software installation the installation program is located on the cd-rom delivered with the PG-FP4 package. to install the gui software, execute the following steps: first, insert the cd-rom into your cd-rom drive. a setup screen opens as follows. figure 3-1. initial status of setup screen install PG-FP4 gui runs setup.exe from the setup directory. show the readme file opens notepad to show the readme file. (japanese and english are selectable. refer to figure 3-2 .) show the user?s manual opens acrobat reader to show the user?s manual. (japanese and english are selectable. refer to figure 3-2 .) exit exits from the initial screen.
chapter 3 software installation user?s manual u15260ej4v0um 20 figure 3-2. dialog box when install PG-FP4 gui is clicked, the setup program wi ll be executed. during initializ ation of the setup program a progress bar like that shown in figure 3-3 appears to indicate the progress. figure 3-3. setup preparation the welcome screen appears a short while after initialization. figure 3-4. welcome window click n ext > to continue the installation.
chapter 3 software installation user?s manual u15260ej4v0um 21 next, a window for selecting a setup type will be opened. figure 3-5. setup type selection window select ?english? or ?japanese? and click n ext > .
chapter 3 software installation user?s manual u15260ej4v0um 22 the software license agreement window appears. figure 3-6. software li cense agreement window click a ccepted to continue the installation. if you click n ot accepted the installation procedure will terminate.
chapter 3 software installation user?s manual u15260ej4v0um 23 the installation start window appears. figure 3-7. installation start window you can exit the installation by clicking the cancel button. click the br owse? button to change the installation destination path. click the n ext > button to proceed to the setup program folder selection. when the br owse? button is clicked , the choose folder window appears.
chapter 3 software installation user?s manual u15260ej4v0um 24 figure 3-8. choose folder window here you can change the destination path. click ok to ac cept the changes or click cancel to undo the changes. you will return to the insta llation start window (refer to figure 3-7 ). when the folder window is closed, click the n ext > button in the installation start window. the setup procedure opens the select program folder window. by default, the program group nec tools32 will be created for the PG-FP4 program folder. you may change the fold er name by selecting one of the existing folders or by typing a new folder name in the edit field.
chapter 3 software installation user?s manual u15260ej4v0um 25 figure 3-9. select program folder window select the correct folder and click the n ext > button to show a summary of the selected folder. figure 3-10. start copying files window click the n ext > button to start the copy process.
chapter 3 software installation user?s manual u15260ej4v0um 26 you can follow the installation on the installation progress wi ndow. you will be prompted to change the floppy disk if the gui software is distributed on more than one floppy disk. figure 3-11. installation progress window you can always abort the installation with the cancel button. when installation is complete, the following message window appears. figure 3-12. setup is complete window the program has been installed successfully and an entry has been made in the program menu to start the gui software. select the view readme.txt checkbox to start no tepad to show you the readme.txt file. since this file is copied into your PG-FP4 directory anyway you may review it anytime. click the finish button to exit installation. the installation process is now complete and the setup ut ility has installed a new program folder which holds the gui software and a ?PG-FP4 uninst? icon which allows you to delete the gui software and this software if they are not used anymore.
chapter 3 software installation user?s manual u15260ej4v0um 27 figure 3-13. program folder after installation opens the readme file for the PG-FP4 starts the PG-FP4 gui software starts the PG-FP4 online help uninstalls the PG-FP4 from the computer
chapter 3 software installation user?s manual u15260ej4v0um 28 the setup program installs fo llowing files on your hard disk. c:\...\nectools32\PG-FP4 readme.txt latest information fp4.exe gui software fp4.hlp online help file fp4.cnt online help contents file fp4com.dll communication dll c:\...\nectools32\PG-FP4\drivers usbiowiz.inf setup information file for os usbio.sys usb driver c:\...\nectools32\PG-FP4\prm storage place for parameter file for target device c:\...\nectools32\PG-FP4\set storage place for customized setup files. caution the parameter file for the target device must be downloaded separatel y from the nec electronics website at http://www.necl.c om/micro/ods/eng/index.html. 3.1.2 usb driver installation when the PG-FP4 is connected via the usb interface for the first time, windows 98, windows me, windows 2000, and windows xp automatically detect the PG-FP4. then the wizard for s earching the new hardware will start. caution usb support is not available on windows 95 and windows nt. figure 3-14. when connection of pg -fp4 to usb port is detected
chapter 3 software installation user?s manual u15260ej4v0um 29 figure 3-15. welcome to the found new hardware wizard window you can exit the installation by clicking the cancel button. click the n ext> button to install a usb driver. next, the install new hardware wizard window will be opened. figure 3-16. install new hardware wizard window select ?s earch for a suitable driver for my device [recomm ended]? under ?what do you w ant the wizard to do?? and click the n ext > button. the locate driver files window will be displayed.
chapter 3 software installation user?s manual u15260ej4v0um 30 figure 3-17. locate driver files window check ?s pecify a location? and click the n ext > button. the window for specifying the usb driv er files to be copied will be opened. figure 3-18. window for specifyi ng driver files to be copied 1 specify the directory where the driver exists and click ok . you can specify the directory from t he locate file window after clicking b rowse? .
chapter 3 software installation user?s manual u15260ej4v0um 31 figure 3-19. locate file window select usbiowiz.inf in the drivers directory creat ed under the PG-FP4 install directory and click o pen . the specified location is shown in the window used to specify the copy source of the usb driver file. figure 3-20. window for specifyi ng driver files to be copied 2 when you click ok , the driver file will be searched. the driver file search window is displayed.
chapter 3 software installation user?s manual u15260ej4v0um 32 figure 3-21. driver files search results window click n ext > , to start installation. when the installation is complete, the following window will be displayed. figure 3-22. completing the found new hardware wizard window now that the usb driver has been installed, the PG-FP4 is ready to communicate using the usb port. to complete the installa tion, click finish .
chapter 3 software installation user?s manual u15260ej4v0um 33 3.1.3 gui software uninstallation (1) uninstallation usin g ?PG-FP4 uninst? icon after all components of the gui software have been inst alled, clicking the ?PG-FP4 uninst? icon will start the uninstallation procedure. all files installed during setup will be removed from your hard disk except the parameter files (.prm) and customized setup files (.set). (2) uninstallation usin g ?add/remove programs?. start ?add/remove programs? in the windows control panel. select ?PG-FP4? in ?change or remove programs?, then click c hange/remove to start uninstallation. figure 3-23. add/remove programs window all files installed during setup will be removed from your hard disk except the parameter files (.prm) and customized setup files (.set).
chapter 3 software installation user?s manual u15260ej4v0um 34 3.2 firmware and gui soft ware update installation in order to guarantee proper operation of the PG-FP4 progra mmer, it is mandatory that the correct firmware version be available in the programmer?s internal memory. be sure to follow the procedure below when updating the firmware. (1) upgrade the gui software. (2) update the firmware using the new gui software. the gui software will perform a crosscheck of software versions between the installed gui software and the firmware in the PG-FP4. if the gui software is not the latest, the following a warning message will appear. figure 3-24. warning about old gui software version if the firmware is not the latest, the following warning message will be displayed. figure 3-25. warning about old firmware version in both cases, update the software to the latest version. check the nec electronics website at http://www.necel.com/micro/ods/eng/index.html and download the necessary software update packages.
chapter 3 software installation user?s manual u15260ej4v0um 35 3.2.1 firmware update installation the new firmware can be installed using the gui software. before this process starts, download the new firmware onto the hard disk of the pc fr om the nec electronics website. a typical name of the firmware program file is fp4_vup_xxxx.rec , where xxxx is the version number of this firmware. (1) firmware update from warning message the firmware update procedure st arts when you click the y es button in the firmware update error message (refer to figure 3-25 ). from the dialog box that app ears, select the firmware update program file fp4_vup_xxxx.rec . several commands will be sent to the PG-FP4 and a progress indicator will inform you of the download progress. as soon as the firmware update is complete, a message will appear. figure 3-26. firmware update complete message (2) firmware update from menu bar the dialog box shown in figure 3-25 is opened by selecting [update firmware] from [p rogrammer] on the menu bar. hereafter, follow the procedure in the (1) firmware update installation from warning message above. figure 3-27. [update firmware] menu the PG-FP4 is now ready for operation.
user?s manual u15260ej4v0um 36 chapter 4 PG-FP4 operation using gui software 4.1 introduction before you start using the PG-FP4, down load the parameter file for the targ et device (.prm) to the prm folder. the prm file is not part of the PG-FP4 software package. it has to be downloaded from the nec electronics websit e at http://www.necel.com/micro/ods/eng/index.html. the prm file downloaded from the nec electronics website must be copied into the sub-directory <PG-FP4 install path>\prm which was created during gui software setup (see chapter 3 software installation ). if no prm file has been installed before, the gui software will report a fatal error and it will not startup. figure 4-1. fatal error: no parameter file installed
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej4v0um 37 4.2 starting up the gui software ? system connection after installing the parameter file, connect the supplied rs-232c cable or usb cable to the computer in which the PG-FP4 is used. after connecting the cable, switch the PG-FP4 on. when it is started up correctly, the message display shows the ?commands >? prompt, and the status led is switched off. if the above does not happen, the PG-FP4 may be faulty. in this case, contact an nec electronics sales representative or distributor. ? gui software startup to start the PG-FP4 gui software, select fp4.exe or doub le-click the shortcut if it has been created. the pg- fp4 starts communicating using the most recently us ed communication parameters stored in its internal eeprom. the default communication speed is 9,600 bps. the gui software establishes a connection with the PG-FP4 using the [gui] section parameters in the fp4.ini file, hostconnectionspeed, hostconnectionport, and hostdown loadport. when no fp4.ini file exists (this is the case when starting the gui software fo r the first time), the gui software scans the connection via com1 to com6 in each port at 9,600 bps, 19,200 bps, 38,4 00 bps, 57,600 bps, and 115,200 bps to establish communication with the pg -fp4 using the usb. figure 4-2. port scanning at startup of gui software you may interrupt this operation by clicking a bort and select the correct communication parameters from the [p rogrammer] [s etup host connection...] menu.
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej4v0um 38 as soon as communication is established and the gui soft ware is started correctly, the following screen appears. figure 4-3. gui software main window this window consists of the following items. ? menu bar (displayed on top): displays executable menus of the PG-FP4 ? toolbar (displayed below the menu): displays frequently used commands as icons ? communication log window (displayed below the toolbar): displays all commands transmitted to the PG-FP4 and messages returned from the PG-FP4 ? programmer parameter window (displayed on the right side of the communication log window): displays programming parameter settings caution the programmer parameter window shows the parameter information prev iously set from the pc. this information may differ from the se ttings of the programmer currently connected.
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej4v0um 39 4.3 toolbar the toolbar contains buttons to start the most important procedures of the PG-FP4. table 4-1. toolbar buttons [d evice] ? [s etup?] button [d evice] ? [e rase] button [f ile] ? [d ownload?] button [d evice] ? [p rogram] button [f ile] ? [u pload?] button [d evice] ? [v erify] button [h ex editor ?] button device erase program verify (autoprocedure (epv)) button [d evice] ? [b lank check] button note [p rogrammer] ? [select programming a rea?] button note enabled only for single-power-supply flash memory microcontrollers. 4.4 menus depending on the actual device status or device type, some menu items may be enabled or disabled. for example, the [d evice] ? [b lank check] button is enabled only for single-power-supply flash memory microcontrollers. 4.4.1 [f ile] menu after clicking the [f ile] menu, the following pull-down menu is displayed. commands related to file operation appear here. figure 4-4. [f ile] menu
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej4v0um 40 (1) [h ex editor?] menu the [h ex editor?] menu allows you to edit a program file in intel hex file format or motorola s- record format. a hex editor window opens and the f ile to be edited can be specified in a ?file open? dialog box. figure 4-5. hex editor file open window hex files or srec files may be selected from the files of t ype list box.
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej4v0um 41 after selecting a file to open, the hex editor main wi ndow loads the file and displays its contents as follows. figure 4-6. hex editor main window the displayed file can be modified by placing the mouse cu rsor inside the hex editor main window. data input via the keyboard is accepted for all shown memory locations. the hex editor accepts data only in hexadecimal format, i. e. figures 0 - 9 and letters a - f. any other data will be rejected. the ascii representation, if any, is show n at the right side of the main window . this area is for reference only. data input is not possible in the ascii window. use the scroll bar to move another address rang e into the visible area of the hex editor. the address space shown in the hex editor window is limited to 4 mb. the following keys can be input using the keyboard.
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej4v0um 42 table 4-2. key functions that can be input in hex editor window key function 0 - 9, a - f data input move cursor in right direction move cursor in left direction move cursor in up direction move cursor in down direction tab move cursor to next input field if any changes have been made to the edited file, the hex editor [f ile] [save] and [f ile] [save as?] menu items will be enabled to save the modified data. figure 4-7. hex editor dialog box besides the file name and directory location, allows selection of a different start address and a different end address for the new file. the original st art address and end address are offered as the default selection. click the file format butt on of the format in which to save t he data. the file format cannot be changed with this selection.
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej4v0um 43 (2) [d ownload] menu the [d ownload] menu allows you to select and download a program file into the PG-FP4 flash memory. the downloaded program file may be programmed into the device?s flash memory by executing the program command or epv command. figure 4-8. file selection window for program download the most recently used directory from which a file has been downloaded will be offered in this window as the default selection. after downloading the user program, the checksum in the flash memory area of the PG-FP4 valid in progarea is calculated and the result is displayed in the pr ogrammer parameter window and communication log window. [ o pen button] downloads the selected user program to the flash memory of the PG-FP4. checksum data of the downloaded data is saved in the filedowncrcsum key in the [programmer] section in the fp4.ini file. this saved checksum data is used fo r comparison with the PG-FP4 memory contents before executing the epv command. the downloaded user program is retained even after the power of the PG-FP4 is switched off. [ cancel button] closes the window without downloading the selected user program. the directory names are saved in the filedownloaddirecto ry key in the [programmer] section in the fp4.ini file. the downloaded file names are saved in the file downfilename key in the [programmer] section in the fp4.ini file. ?erase memory before download? can be used to select whether to erase the internal memory of fp4 before a new program is downloaded.
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej4v0um 44 (3) [u pload] menu the [u pload] menu allows you to specify and upload a program file from the PG-FP4 flash memory to the host machine. figure 4-9. file selection window for program upload in the appearing window you can: ? select a program file for upload ? select the upload file format (intel hex or motorola s-record format) ? select the memory start and end addresses to upload the most recently used directory from which a file has been uploaded will be shown in the [u pload?] menu. [ o pen button] ?press to start/continue output? appears in the communication log window when the open (o) button is clicked. click the return button to start uploading. [ cancel button] closes the window without uploading the program.
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej4v0um 45 (4) [c hecksum?] menu the [c hecksum?] menu may be used to verify that the PG-FP4?s flash memory area contains the correct download file. figure 4-10. checksum dialog box 1 all the programming memory area (2 mb) or ?check complete p rogrammer application memory?, in which 32- bit crc calculations are performed in the pg-f p4 programming memory area selected using the [p rogrammer] > [select programming a rea?] menu, is selected by default. the currently selected programming memory area is displayed in the ?programming area? for reference. select the ?device a rea? to calculate the checksum of the fl ash memory area of the target device. the target memory area accords with the informati on of the currently downloaded parameter file. select ?u ser defined? to calculate the checksum of any memory area. in this case, specify the ?s tart address? and ?l ength?. the checksum is displayed in the communication log window. figure 4-11. checksum dialog box 2
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej4v0um 46 (5) [q uit] menu terminates the PG-FP4 gui software. clicking the x button on the right side of the task bar also terminates the PG-FP4 gui software. user settings are saved in the fp4.ini file so that the gui software will start up next time with the same settings. 4.4.2 [p rogrammer] menu clicking the [p rogrammer] menu displays th e following pull-down menu. this pull-down menu consists of program setting commands. figure 4-12. [p rogrammer] menu (1) [s etup host connection?] menu the channel for communicating betwe en the PG-FP4 and pc can be selected and set in this dialog box. figure 4-13. dialog box you may select usb as the communication channel, if usb is supported on your pc. if ?serial? is selected, the port and baud rate ma y be selected from the drop-down list boxes. ?use parallel d ownload? can be selected in addition to the serial port. if parallel download is selected, data download to the PG-FP4 is performed via the selected parallel interface. caution the parallel interface cable is not part of the PG-FP4 package. check that the lptx port is not u sed before using the parallel port. usb communication is not supported on windows 95 or windows nt.
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej4v0um 47 [ o k button] the software tries to establish a connection bet ween the PG-FP4 and the pc using the selected communication parameters. [ c ancel button] closes the window without making any changes. (2) [l ogging] menu the [l ogging] menu opens the log file dialog box to select the log file name. t he log file will store the communication between the pc and the PG-FP4 (data in the communication log window). figure 4-14. dialog box once logging is enabled, a check mark in the [l ogging] menu indicates that logging is active. selecting the menu again will close the log f ile and stop any further communication logging. (3) [select programming a rea?] menu this menu item allows selection of one out of two different programming areas of the PG-FP4 (1 mb each). this menu is valid when ?enable two program areas? on the advanced tab of [d evice] > [s etup] menu is checked. figure 4-15. programming area selection the PG-FP4 internal memory area is split into two independent memory areas of 1 mb, each of which may hold two different application programs for flash progra mming. when opening this dialog box, the current programming area selection will be displayed.
chapter 4 PG-FP4 operation using gui software user?s manual u15260ej4v0um 48 (4) [r eset] menu by clicking this menu item, you can execute a softwar e reset of the programmer. the communication window will show the current version of the PG-FP4 firmware after the reset. (5) [update firmware] menu clicking this menu item updates the PG-FP4. before starting the update, download the necessary upgrade data from the nec electronics website at h ttp://www.necel.com/micro/ods/eng/index.html. when the firmware update is st arted, the following confirmation message is displayed first. figure 4-16. firmware update window to continue the firmware update, click y es . when n o is clicked, the firmware update is canceled. when y es is clicked,


▲Up To Search▲   

 
Price & Availability of PG-FP4

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X